DevForce Help Reference
ApplicabilityConstraint<T> Delegate


the Type of object being verified
Delegate that determines if a verifier applies to a particular object given the current TriggerContext and VerifierContext.
Syntax
'Declaration
 
Public Delegate Function ApplicabilityConstraint(Of T)( _
   ByVal itemToVerify As T, _
   ByVal triggerContext As TriggerContext, _
   ByVal verifierContext As VerifierContext _
) As VerifierApplicability
'Usage
 
Dim instance As New ApplicabilityConstraint(Of T)(AddressOf HandlerMethod)

Parameters

itemToVerify
triggerContext
verifierContext

Type Parameters

T
the Type of object being verified

Return Value

Remarks
The developer can invoke this constraint directly by calling Verifier.IsApplicable.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ApplicabilityConstraint<T> Members
IdeaBlade.Validation Namespace

Send Feedback